<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/static/lib/css/bootstrap.css" rel="stylesheet" type="text/css">
    <link href="/static/lib/css/bootstrap.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
    <div class="row">
        <ul class="nav nav-pills">
            <li class="active">
                <a href="#">首页</a>
            </li>
            <li><a href="#">...</a></li>
            <li><a href="#">...</a></li>
        </ul>
    </div>
    <div class="row">
        <div class="span3"><h1 style="text-align: center">左侧</h1></div>
        <div>
            <div id="registerForm" class="form-horizontal span9">
                <div class="control-group">
                    <div class="control-label">
                        <label for="username">用户名：</label>
                    </div>
                    <div class="controls">
                        <input id="username" type="text" class="input-xlarge" placeholder="用户名" v-model="user.username">
                    </div>
                </div>
                <div class="control-group">
                    <div class="control-label">
                        <label for="password">密码：</label>
                    </div>
                    <div class="controls">
                        <input id="password" type="password" class="input-xlarge" placeholder="密码" v-model="user.password">
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="button" class="btn"  @click.stop="login()">登录</button>
                        <button type="reset" class="btn">重置</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="/static/lib/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/lib/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/static/lib/js/vue.min.js"></script>
<script type="text/javascript" src="/static/lib/js/vue-resource.min.js"></script>
<script type="text/javascript" src="/static/js/user/vue-login.js"></script>
</html>